home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / dkbsrc.zip / AMIGA.MAK < prev    next >
Makefile  |  1991-05-04  |  3KB  |  96 lines

  1. # Makefile for DKB Ray Tracing Program by David Buck and Aaron Collins
  2. # This file is released to the public domain.
  3. #
  4. #
  5. # MAKE Macros and Such...
  6. #
  7.  
  8. #***************************************************************
  9. #*
  10. #*                      Amiga Options
  11. #*
  12. #***************************************************************
  13.  
  14. # Uncomment for Amiga Lattice C for IEEE w/o coprocessor
  15. CFLAGS    = -cusrft -fi -m0 -q5w5e -b0 -O -v
  16.  
  17. # Uncomment for Amiga Lattice C with 68881
  18. #CFLAGS    = -cusrft -f8 -m2 -q5w5e -b0 -O -v
  19.  
  20. # Flags for debugging
  21. #CFLAGS    = -cusrft -q5w5e -d5
  22.  
  23. LIBSIEEE    = lib:lcmieee.lib lib:lcnb.lib lib:amiga.lib
  24. LIBS881    = lib:lcm881.lib lib:lcnb.lib lib:amiga.lib
  25.  
  26. OBJ    = o
  27. MACHINE_OBJ    = amiga.$(OBJ)
  28.  
  29. DKBOBJS = trace.$(OBJ) render.$(OBJ) tokenize.$(OBJ) parse.$(OBJ) \
  30.       objects.$(OBJ) spheres.$(OBJ) quadrics.$(OBJ) lighting.$(OBJ) \
  31.       prioq.$(OBJ) texture.$(OBJ) matrices.$(OBJ) csg.$(OBJ) dump.$(OBJ) \
  32.       colour.$(OBJ) viewpnt.$(OBJ) ray.$(OBJ) planes.$(OBJ) iff.$(OBJ) \
  33.       gif.$(OBJ) gifdecod.$(OBJ) triangle.$(OBJ) raw.$(OBJ) targa.$(OBJ) \
  34.           quartics.$(OBJ) vect.$(OBJ) $(MACHINE_OBJ)
  35.  
  36.  
  37. #  Amiga Linkage...
  38. #
  39. dkbieee:    $(DKBOBJS)
  40.     blink with withfile LIB $(LIBSIEEE) TO dkbieee
  41.  
  42. dkb881:    $(DKBOBJS)
  43.     blink with withfile LIB $(LIBS881) TO dkb881
  44.  
  45. trace.$(OBJ) : trace.c dkbproto.h frame.h vector.h config.h
  46.  
  47. tokenize.$(OBJ) : tokenize.c dkbproto.h frame.h config.h
  48.  
  49. parse.$(OBJ) : parse.c dkbproto.h frame.h config.h
  50.  
  51. render.$(OBJ) : render.c dkbproto.h frame.h vector.h config.h
  52.  
  53. lighting.$(OBJ) : lighting.c dkbproto.h frame.h vector.h config.h
  54.  
  55. prioq.$(OBJ) : prioq.c dkbproto.h frame.h config.h
  56.  
  57. texture.$(OBJ) : texture.c dkbproto.h frame.h vector.h config.h
  58.  
  59. objects.$(OBJ) : objects.c dkbproto.h frame.h vector.h config.h
  60.  
  61. spheres.$(OBJ) : spheres.c dkbproto.h frame.h vector.h config.h
  62.  
  63. planes.$(OBJ) : planes.c dkbproto.h frame.h vector.h config.h
  64.  
  65. quadrics.$(OBJ) : quadrics.c dkbproto.h frame.h vector.h config.h
  66.  
  67. quartics.$(OBJ) : quartics.c dkbproto.h frame.h vector.h config.h
  68.  
  69. vect.$(OBJ) : vect.c dkbproto.h frame.h config.h
  70.  
  71. matrices.$(OBJ) : matrices.c dkbproto.h frame.h vector.h config.h
  72.  
  73. csg.$(OBJ) : csg.c dkbproto.h frame.h vector.h config.h
  74.  
  75. colour.$(OBJ) : colour.c dkbproto.h frame.h config.h
  76.  
  77. viewpnt.$(OBJ) : viewpnt.c dkbproto.h frame.h vector.h config.h
  78.  
  79. ray.$(OBJ) : ray.c dkbproto.h frame.h vector.h config.h
  80.  
  81. iff.$(OBJ) : iff.c dkbproto.h frame.h config.h
  82.  
  83. gif.$(OBJ) : gif.c dkbproto.h frame.h config.h
  84.  
  85. gifdecod.$(OBJ) : gifdecod.c dkbproto.h frame.h config.h
  86.  
  87. raw.$(OBJ) :    raw.c dkbproto.h frame.h config.h
  88.  
  89. triangle.$(OBJ) : triangle.c dkbproto.h frame.h vector.h config.h
  90.  
  91. amiga.$(OBJ) :    amiga.c dkbproto.h frame.h config.h
  92.  
  93. dump.$(OBJ) :    dump.c dkbproto.h frame.h config.h
  94.  
  95.  
  96.